.class public abstract Lcom/instagram/android/activity/h;
.super Lcom/instagram/android/activity/t;
.source "BaseFragmentActivity.java"


# static fields
.field private static final s:Landroid/content/IntentFilter;


# instance fields
.field private final t:Landroid/content/BroadcastReceiver;

.field private final u:Landroid/support/v4/app/s;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .prologue
    .line 27
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    sput-object v0, Lcom/instagram/android/activity/h;->s:Landroid/content/IntentFilter;

    .line 28
    sget-object v0, Lcom/instagram/android/activity/h;->s:Landroid/content/IntentFilter;

    const-string v1, "ActionBarService.action_bar_back_click"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 29
    sget-object v0, Lcom/instagram/android/activity/h;->s:Landroid/content/IntentFilter;

    const-string v1, "ActionBarService.action_bar_updated"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 30
    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .prologue
    .line 22
    invoke-direct {p0}, Lcom/instagram/android/activity/t;-><init>()V

    .line 32
    new-instance v0, Lcom/instagram/android/activity/i;

    invoke-direct {v0, p0}, Lcom/instagram/android/activity/i;-><init>(Lcom/instagram/android/activity/h;)V

    iput-object v0, p0, Lcom/instagram/android/activity/h;->t:Landroid/content/BroadcastReceiver;

    .line 43
    new-instance v0, Lcom/instagram/android/activity/j;

    invoke-direct {v0, p0}, Lcom/instagram/android/activity/j;-><init>(Lcom/instagram/android/activity/h;)V

    iput-object v0, p0, Lcom/instagram/android/activity/h;->u:Landroid/support/v4/app/s;

    return-void
.end method


# virtual methods
.method protected abstract j()V
.end method

.method public l()V
    .locals 2

    .prologue
    .line 96
    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->f()Landroid/support/v4/app/r;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->layout_container_main:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    .line 97
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v1

    check-cast v0, Lcom/instagram/a/b;

    invoke-interface {v0}, Lcom/instagram/a/b;->a()Lcom/instagram/a/a;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/instagram/a/c;->a(Lcom/instagram/a/a;)V

    .line 100
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3
    .parameter "savedInstanceState"

    .prologue
    const/4 v2, 0x0

    .line 79
    invoke-super {p0, p1}, Lcom/instagram/android/activity/t;->onCreate(Landroid/os/Bundle;)V

    .line 80
    sget v0, Lcom/facebook/ax;->activity_fragment_host:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/h;->setContentView(I)V

    .line 82
    invoke-static {}, Lcom/instagram/creation/video/c/b;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 85
    new-instance v1, Landroid/view/SurfaceView;

    invoke-direct {v1, p0}, Landroid/view/SurfaceView;-><init>(Landroid/content/Context;)V

    .line 86
    new-instance v0, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v0, v2, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0}, Landroid/view/SurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 87
    const v0, 0x1020002

    invoke-virtual {p0, v0}, Lcom/instagram/android/activity/h;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 90
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->j()V

    .line 91
    return-void
.end method

.method protected onPause()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 69
    invoke-super {p0}, Lcom/instagram/android/activity/t;->onPause()V

    .line 70
    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->f()Landroid/support/v4/app/r;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/activity/h;->u:Landroid/support/v4/app/s;

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->b(Landroid/support/v4/app/s;)V

    .line 71
    invoke-static {p0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/activity/h;->t:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 73
    invoke-static {}, Lcom/instagram/android/service/e;->a()Lcom/instagram/android/service/e;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/android/service/e;->a(Landroid/support/v4/app/r;)V

    .line 74
    invoke-static {}, Lcom/instagram/android/service/e;->a()Lcom/instagram/android/service/e;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/android/service/e;->a(Landroid/support/v4/app/aj;)V

    .line 75
    return-void
.end method

.method protected onResume()V
    .locals 3

    .prologue
    .line 56
    invoke-super {p0}, Lcom/instagram/android/activity/t;->onResume()V

    .line 57
    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->f()Landroid/support/v4/app/r;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/activity/h;->u:Landroid/support/v4/app/s;

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(Landroid/support/v4/app/s;)V

    .line 59
    invoke-static {p0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/activity/h;->t:Landroid/content/BroadcastReceiver;

    sget-object v2, Lcom/instagram/android/activity/h;->s:Landroid/content/IntentFilter;

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 61
    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->l()V

    .line 63
    invoke-static {}, Lcom/instagram/android/service/e;->a()Lcom/instagram/android/service/e;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->f()Landroid/support/v4/app/r;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/service/e;->a(Landroid/support/v4/app/r;)V

    .line 64
    invoke-static {}, Lcom/instagram/android/service/e;->a()Lcom/instagram/android/service/e;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/activity/h;->g()Landroid/support/v4/app/aj;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/service/e;->a(Landroid/support/v4/app/aj;)V

    .line 65
    return-void
.end method
